package com.aistar.pojo;

import java.util.List;
//游记全部信息 包括游记详细 用户信息 和评论
public class TravelCompletely {
    private Travelnote travelnote;//游记详细信息
    private Member member;//写游记的用户信息;
    private List<CommMember> commMemberList;//游记评论信息和用户信息集合

    public TravelCompletely(){}

    public TravelCompletely(Travelnote travelnote, Member member, List<CommMember> commMemberList) {
        this.travelnote = travelnote;
        this.member = member;
        this.commMemberList = commMemberList;
    }

    public Travelnote getTravelnote() {
        return travelnote;
    }

    public void setTravelnote(Travelnote travelnote) {
        this.travelnote = travelnote;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }

    public List<CommMember> getCommMemberList() {
        return commMemberList;
    }

    public void setCommMemberList(List<CommMember> commMemberList) {
        this.commMemberList = commMemberList;
    }

    @Override
    public String toString() {
        return "TravelCompletely{" +
                "travelnote=" + travelnote +
                ", member=" + member +
                ", commMemberList=" + commMemberList +
                '}';
    }
}
